package utils;

import org.apache.commons.lang3.StringUtils;

/**
 * @author yangjicong
 * @date 2022/3/21
 */
public class UtilTest {

	public static void main(String[] args) {
		//31.join(Object[] arrey,char c) 把数组中的元素拼接成一个字符串返回，把分隔符 c 也带上
		String params[] = {"234","34"};
		String join = StringUtils.join(params, "-");
		System.out.println("join = " + join);


		Long elementByCent = BaseUtil.getElementByCent("100");
		System.out.println("elementByCent = " + elementByCent);

		String stringToStringAmt = BaseUtil.getStringToStringAmt("123");
		System.out.println("stringToStringAmt = " + stringToStringAmt);
	}
}
